function toClassLink(dataType, dataId,newWindowOpen) {
	//类型
	var goodslistWithTypeUrl = "/goods/list.htm?typeClass={typeClass}";
	//类别
	var goodsClassifiedBaseUrl = "/goods/list.htm?goodsClassId={goodsClassId}";
	var url = null;
	var dataTypeInt = 0;
	if((dataType+"").match(/^\d+$/)){
		dataTypeInt = parseInt(dataType);
	}
	switch (dataTypeInt) {
	case 1:
		url = goodslistWithTypeUrl.replace("{typeClass}", dataId);
		break;
	case 2:
		url = goodsClassifiedBaseUrl.replace("{goodsClassId}", dataId);
		break;
	default:
		url = "/index.htm";
		break;
	}
	if("1"==newWindowOpen){
		window.open(appPath+url);
	}else{
		window.location=appPath+url;
	}
}
$(document).ready(function(){
	 // 初始化的方式
	//var datalazy = new DataLazyLoad({
	//	container: window
	//});
});